Lgre = new function(){};

Lgre.init=function(){};

Lgre.refresh = function(){
	for(var i=0;i<Lge.items.length;i++){ // iyilestirme olabilir
		var it = Lge.items[i];
		p = it.physics;
		if( it.type == 'ball'
			|| it.type == 'box'
			|| it.type == 'particle'){
			it.graphics.el.style.left=p.x-p.w/2;
			it.graphics.el.style.bottom=p.y-p.h/2;
			it.graphics.el.style.height=p.h;//single
			it.graphics.el.style.width=p.w;//single
			it.graphics.el.style.webkitTransform = 'rotate(-'+ p.a +'rad)';
		}
		else if( it.type == 'spring'){
		}
	}
};
